#include <GL/freeglut.h>	// Include the GLUT header file
#include <osc-control.hpp>

class glut_render
{
  static osc_control *Instrument;
  static unsigned long texWidth;
  static unsigned long texHeight;
  static int8_t *trace_horz;

  static GLubyte *textureImage;

  static void init ();
  static void updateTextureImage ();
public:

  static void display ();
  static void update ();
  static void reshape (int width, int height);

    glut_render (int argc, char *argv[], unsigned long texWidth,
		 unsigned long texHeight, osc_control * Instrument);
   ~glut_render ();
  void open (char title[]);
};
